package com.sinrin.entity;

import java.util.Date;

/**
 * Created by sinrin on 2017/7/31.
 */
public class Visitor {
    private String id;
    private String ip;
    private Date visitDate;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public Date getVisitDate() {
        return visitDate;
    }

    public void setVisitDate(Date visitDate) {
        this.visitDate = visitDate;
    }

    public Visitor() {
    }

    public Visitor(String id, String ip, Date visitDate) {
        this.id = id;
        this.ip = ip;
        this.visitDate = visitDate;
    }

    @Override
    public String toString() {
        return "Visitor{" +
                "id='" + id + '\'' +
                ", ip='" + ip + '\'' +
                ", visitDate=" + visitDate +
                '}';
    }
}
